const homeModule = {
  state: {
    siderbar: {
      opened: window.localStorage.getItem('siderBarOpened')
    }
  },
  mutations: {
    TOGGLE_SIDEBAR: state => {
      window.localStorage.setItem('siderBarOpened', !state.siderbar.opened)
      state.siderbar.opened = !state.siderbar.opened  44444444
    }

  },
  actions: {
    toggleSideBar: function (commit) {
      commit('TOGGLE_SIDEBAR')
    }
  },
  getters: { }
}
export default homeModule
